package com.project.lx.gettxtfilename.RecycleView.adapter;

import android.support.annotation.LayoutRes;
import android.support.annotation.Nullable;
import android.view.View;

import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.BaseViewHolder;
import com.project.lx.gettxtfilename.R;

import java.util.List;

/**
 * @author: X_Meteor
 * @description: 类描述
 * @version: V_1.0.0
 * @date: 2017/6/7 17:28
 * @company:
 * @email: lx802315@163.com
 */
public class MainAdapter extends BaseQuickAdapter<String,BaseViewHolder> {

    public MainAdapter(@LayoutRes int layoutResId, @Nullable List<String> data) {
        super(layoutResId, data);
    }

    public MainAdapter(@Nullable List<String> data) {
        super(data);
    }

    public MainAdapter(@LayoutRes int layoutResId) {
        super(layoutResId);
    }

    @Override
    protected void convert(BaseViewHolder helper, String item) {
        helper.setText(R.id.txt_tv, item);
    }
}
